package cn.com.git.example.common.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhangzhenfu
 * @Description
 * @date 2021/3/18 9:48
 */
@Data
@ApiModel
@Validated
public class LoginForm implements Serializable {
    @ApiModelProperty("账号")
    @NotNull(message = "账号不能为空")
    private String account;
    @ApiModelProperty("密码")
    @NotNull(message = "密码不能为空")
    private String password;
    @ApiModelProperty("每次登录操作会话id")
    @NotNull(message = "登录操作会话id不能为空")
    private String loginProcessSessionId;
    @ApiModelProperty("验证码")
    private String verifyCode;
}
